Read about terminal commands mac cheat sheet, The latest news, videos, and discussion topics about terminal commands mac cheat sheet from alibabacloud.com
-LicensingmodelConcurrent -ProductCodeMPS -producteditionENT # Configure License server name and PortSet-xdlicensing -licenseserveraddressDC01 -Licenseserverport 27001# Display Licensing OptionsGet-Configlicensingmodel #
How to Display/modify Product version and edition?
123456789101112
# Configure new settings for Product Code, edition and licensing modelSet-Configsite -ProductCodeMPS -producteditionENT# Display Production OptionsGet-configproduct# Display Product vers
heard of. But I thought that since I was trying to hide the file, the goal was not to like others to find out, of course, the complexity is better. The MV command is used to move the file, but if it is still under the same path, it is usually named "." In the Mac. The beginning of the file is a hidden file, so we can use the MV command to achieve file hiding. For example, there is a file named tool, I want to hide, you should go to the tool path, suc
CD Switch working directory. Represents the current directory.. Represents the top-level directory of the current directory/root directory/directory separator./Current Directory.. /go to the top level directoryLS Displays the current directory so the filemkdir Creating a new directoryRmDir Delete Empty directory, note is empty directoryVim xx open xx file, if not created xx file, and pick to edit pageI just entered the editing page is not editable, so I can edit the inputESC will exit edit mode
Tags: dir directory esc body ACK BSP Primary directory page common commandsBecause very little command line, old despised, so today record a common command line:CD Switch working directory. Represents the current directory.. Represents the top-level directory of the current directory/root directory/directory separator./Current Directory.. /go to the top level directoryLS Displays the current directory so the filemkdir Creating a new directoryRmDir Delete Empty directory, note is empty directoryV
Find a better explanation of the command under the Mac Terminal document, paste the full text here, so as not to lose (the original text here):Mac Terminal command line "one" Bash terminal settings1. Environment variable SettingsThe first thing to know is what kind of shell
40 useful Mac OS X Shell scripts and terminal commands
There are a bunch of terminal commands under Mac OS x. I have classified these commands in a simple way. Many
, start the system with the disc, and select "Password Reset" in the installation menu to change your password and start the superuser mode. (Copying the tool to a hard disk cannot be started. It must be started from the disc .)Recommendation index ***Method 2:Start terminal in Mac OS X (in the "Application/utility" folder) and enter the following command:Sudo passwd RootThe system requires you to enter the
Mac terminal command for displaying/hiding files in the Mac OS X operating system of apple, there are many ways to set whether hidden files are displayed. The simplest is to enter commands on the Mac terminal. The command for disp
Entering shortcut commands in the terminal can improve productivity while keeping a few commands in mindHow to do:First edit in the ~/directory. Bash_profile This hidden file, if you want to directly double-click this file to open the editor, please enter it in the terminalMac Show hidden files command defaults write Com.apple.finder appleshowallfiles-bool trueAt
Mac users know that every time the computer is turned on or restarted, there will be a very special boot tone. If you want to temporarily prohibit the start-up tone, one way is to always hold down the keyboard mute button, of course you can also use the following method of using terminal commands:By Spotlight Search and open the [terminal] program, then enter the
user
Write username PTS/1
Mesg
Allow or deny receiving of messages
MESG N
Korn shell command
command name
function Description
Examples of Use
History
List several recently executed commands and numbers
History
R
Repeatedly executes a command that has been recently executed
R-2
Alias
To define an alias for a
One, what is UltraEditI think it's a programmer, and the code knows what Urledit is. We are going to use Linux and have a very famous editor gedit in Linux, which allows us to enter gedit XXX in the terminal. You can edit the software by entering the visual window.Gedit can also be used on Macs, but gedit. There's a better software UltraEdit on Mac, but how do we use gedit as a command to edit any file?Seco
Mac users know that every time the computer is turned on or restarted, there will be a very special boot tone. If you want to temporarily prohibit the start-up tone, one way is to always hold down the keyboard mute button, of course you can also use the following method of using terminal commands:Open the terminal, enter the following command and return, to disab
First, delete the file1 Opening the terminal application2 Input command: sudo (space) RM (space)-R (Space)-F (space) (note that there are spaces behind-f), also note that all lowercase.3 Drag the file or folder you want to delete into the terminal window with mouse, and many can also be dragged together.4 then enter in the terminal.5 Enter the current administrat
the system, if you want to configure something, such as the Android development environment in the SDK to add the directory, do not configure the words will not be added.Export android_sdk_root= "/USERS/WANGKAI/DOCUMENTS/ADT-BUNDLE-MAC-X86_64-20130219/SDK"I saved these 4 references in my command line 6, to save the full selection: Command+s or not at ease, select the Notepad file-save save after saving no prompt to directly turn off. 7, at this point
the original unchanged working copy file (restores most of the local modifications). Revert:2 usage: revert PATH ... 3 Note: The book command will not access the network and will release the conflicting conditions. But it will not recover 4 of the deleted directories16. Code Base URL Change1 svn switch (SW): Updates the working copy to a different URL. 2 usage: 1, switch URL [path] 3 2, switch–relocate from to [path ...] 4 5 1, update your working copy, map to a new URL, its behavior is simil
Recently in the study of using Appium to do iOS automation, so began to touch the Mac system. Record a few common commands for homebrew under the Mac's Terminal
Install (requires Ruby, but usually comes with a band):ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
Search:brew searchXXX 在安装之前可以先查询一下,是否有这个软件
Query: brew infoXXX m
Today, a small study of the Mac terminal commands, mainly for the convenience of debugging programs, Xcode do not come ah ...Make a note here. Prevent lossPWD Current Working directoryCD (without parameters) into rootCD (folder) access to foldersCd.. Parent Directorycd ~ Back to RootCD-Returns the last visited directoryRM File name DeleteCat file name (|less) to
Today, a small study of the Mac terminal commands, mainly for the convenience of debugging programs, Xcode do not come ah ...Make a note here. Prevent lossPWD Current Working directoryCD (without parameters) into rootCD (folder) access to foldersCd.. Parent Directorycd ~ Back to RootCD-Returns the last visited directoryRM File name DeleteCat file name (|less) to
Make a note here. Prevent lossPWD Current Working directoryCD (without parameters) into rootCD (folder) access to foldersCd.. Parent Directorycd ~ Back to RootCD-Returns the last visited directoryRM File name DeleteCat file name (|less) to view files under TerminalLS lists all files in the directoryCP file name destination directory copy files to target directory~ stands for root such as: ~/document/cpp2/Mkdiv new Folderg++ source file name compile source files, generate a.out./file name run for
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.